<%@ page language="java" contentType="text/html; charset=US-ASCII"
	pageEncoding="US-ASCII"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<%@include file="headerAmministratore.jsp"%>

<script type="text/javascript" src="js/modificaAccount.js"></script>
<script type="text/javascript" src="js/visualizzaAccount.js"></script>
<script type="text/javascript" src="js/eliminaAccount.js"></script>
<script type="text/javascript" src="bootstrap/js/tooltip.js"></script>
<script type="text/javascript" src="js/noty/packaged/jquery.noty.packaged.min.js"></script>
<!-- Link ai file CSS -->
<link href="css/gestionesistema.css" rel="stylesheet">
<link href="css/form.css" rel="stylesheet">

</head>
<body>

	
		<form id="visual-account" class="form-horizontal" action="./modificaAccount"
			method="post">

			<!-- USERNAME -->
			<div class="form-group">
				<label for="username" class="col-sm-2 control-label">Username</label>
				<div class="col-sm-6">
					<input type="text" name="ACC_USER" class="form-control"
						id="username" disabled>
				</div>
			</div>
			<!-- /USERNAME -->

			<!-- PASSWORD -->
			<div class="form-group">
				<label for="password" class="col-sm-2 control-label">Password</label>
				<div class="col-sm-6">
					<input type="text" name="ACC_PSW" class="form-control"
						id="password" disabled>
				</div>
			</div>
			<!-- /PASSWORD -->

			<!-- NOME -->
			<div class="form-group">
				<label for="nome" class="col-sm-2 control-label">Nome</label>
				<div class="col-sm-6">
					<input type="text" name="RICER_NOME" class="form-control"
						id="nome" disabled>
				</div>
			</div>
			<!-- /NOME -->

			<!-- COGNOME -->
			<div class="form-group">
				<label for="cognome" class="col-sm-2 control-label">Cognome</label>
				<div class="col-sm-6">
					<input type="text" name="RICER_COGN" class="form-control"
						id="cognome" disabled>
				</div>
			</div>
			<!-- /COGNOME -->

			<!-- CODICE FISCALE -->
				<div class="form-group">
					<label for="codiceFiscale" class="col-sm-2 control-label">Codice
						Fiscale</label>
					<div class="col-sm-6">
						<input type="text" name="RICER_COD_FISC" class="form-control"
							id="codiceFiscale" disabled>
					</div>
				</div>
				<!-- /CODICE FISCALE -->

				<!-- DATA NASCITA -->
				<div class="form-group">
					<label for="data-nascita" class="col-sm-2 control-label">Data
						Nascita</label>
					<div class="col-sm-6">
						<input type="date" name="RICER_DATA_NASC" class="form-control"
							id="data-nascita" disabled>
					</div>
				</div>
				<!-- /DATA NASCITA -->

				<!-- CITTA NASCITA -->
				<div class="form-group">
					<label for="citta-nascita" class="col-sm-2 control-label">Citt&agrave
						Nascita</label>
					<div class="col-sm-6">
						<input type="text" name="RICER_CITTA_NASC" class="form-control"
							id="citta-nascita" disabled>
					</div>
				</div>
				<!-- /CITTA NASCITA -->

				<!-- SESSO -->
				<div class="form-group">
					<label for="sesso" class="col-sm-2 control-label">Sesso</label>
					<div class="col-sm-6">
						<select name="RICER_SEX" class="form-control"
							id="sesso" disabled>
							<option value="F">F</option>
							<option value="M">M</option>
						</select>
					</div>
				</div>
				<!-- /SESSO -->

				<!-- INDIRIZZO -->
				<div class="form-group">
					<label for="indirizzo" class="col-sm-2 control-label">Indirizzo</label>
					<div class="col-sm-6">
						<input type="text" name="RICER_INDIRIZZO" class="form-control"
							id="indirizzo" disabled>
					</div>
				</div>
				<!-- /INDIRIZZO -->

				<!-- EMAIL -->
				<div class="form-group">
					<label for="email" class="col-sm-2 control-label">E-Mail</label>
					<div class="col-sm-6">
						<input type="email" name="RICER_EMAIL" class="form-control"
							id="email" disabled>
					</div>
				</div>
				<!-- /EMAIL -->

				<!-- RUOLO -->
				<div class="form-group">
					<label for="ruolo" class="col-sm-2 control-label">Ruolo</label>
					<div class="col-sm-6">
						<select name="RICER_RUOLO" class="form-control"
							id="ruolo" disabled>
							<option value=""></option>
							<option value="ricercatore">Ricercatore</option>
							<option value="direttore_dip">Direttore di
								Dipartimento</option>
							<option value="membro_area_sci">Membro del
								Comitato d'Area Scientifica</option>
						</select>
					</div>
				</div>
				<!-- /RUOLO -->

				<!-- MATRICOLA -->
				<div class="form-group">
					<label for="matricola" class="col-sm-2 control-label">Matricola</label>
					<div class="col-sm-6">
						<input type="number" name="RICER_MATRIC" class="form-control"
							id="matricola" disabled>
					</div>
				</div>
				<!-- /MATRICOLA -->

				<!-- ANNO MESSA IN RUOLO -->
				<div class="form-group">
					<label for="anno-messa-ruolo" class="col-sm-2 control-label">Anno
						messa in ruolo</label>
					<div class="col-sm-6">
						<input type="number" name="RICER_ANNO_MES_RUOLO" class="form-control"
							id="anno-messa-ruolo" disabled>
					</div>
				</div>
				<!-- /ANNO MESSA IN RUOLO -->

				<!-- DIPARTIMENTO -->
				<div class="form-group">
					<label for="dipartimento" class="col-sm-2 control-label">Dipartimento</label>
					<div class="col-sm-6">
						<select name="RICER_DIPART" class="form-control"
							id="dipartimento" disabled>
						</select>
					</div>
				</div>
				<!-- /DIPARTIMENTO -->

				<!-- AREA SCIENTIFICA -->
				<div class="form-group">
					<label for="area-scientifica" class="col-sm-2 control-label">Area
						Scientifica</label>
					<div class="col-sm-6">
						<select name="RICER_AREA_SCI" class="form-control"
							id="area-scientifica" disabled>
						</select>
					</div>
				</div>
				<!-- /AREA SCIENTIFICA -->

			<!-- /RICERCATORE FORM AGGIUNTIVI -->


			<!-- RESPONSABILE D'ATENEO FORM AGGIUNTIVI  -->
			<div id="container" class="ricercatore hidden">

				<!-- EVENTO -->
				<div class="form-group">
					<label for="evento" class="col-sm-2 control-label">Evento</label>
					<div class="col-sm-6">
						<select name="RESP_AT_EVT" class="form-control"
							id="evento" disabled>
							<option value=""></option>
						</select>
					</div>
				</div>
				<!-- /EVENTO -->

			</div>
			<!-- /RESPONSABILE D'ATENEO FORM AGGIUNTIVI  -->

			<br/><br/><br/>

			<div class="form-group" style="position: absolute; left: 25%;">

				<button type="button"
					class="btn btn-default glyphicon glyphicon-remove"
					id="annullaButton" onClick="accountRichiama2()">
					<span style="font-family: arial"> Annulla</span>
				</button>
				<button type="button"
					class="btn btn-default glyphicon glyphicon-floppy-disk"
					id="salvaButton" onClick="modify()">
					<span style="font-family: arial"> Salva</span>
				</button>

				<button type="button"
					class="btn btn-default glyphicon glyphicon-pencil"
					id="modificaButton" onClick="accountRichiama()">
					<span style="font-family: arial"> Modifica</span>
				</button>
				<button type="button"
					class="btn btn-default glyphicon glyphicon-trash"
					onClick="deleteAccount()" id="eliminaButton">
					<span style="font-family: arial"> Elimina</span>
				</button>
			</div>

		</form>
	
	<%@include file="footer.jsp"%>
</body>
</html>